home *** CD-ROM | disk | FTP | other *** search
- global pict, precast, moviepos, foreframe, movieshow, g_pictpath, movieprepos, leftclist, rightclist, ctime, g_pause, qtframelist, qtchangedfrag, womannum
-
- on checkkeytab
- if the key = TAB then
- set movieshow to 0
- set the visible of sprite 23 to 0
- set the visible of sprite 24 to 0
- set the visible of sprite 29 to 0
- set the keyDownScript to "checkkey0"
- cursor(-1)
- dontPassEvent()
- startTimer()
- if g_pause = 1 then
- go("pa")
- else
- go("from")
- end if
- end if
- if (the keyCode = 76) or (the keyCode = 36) then
- go(1, womannum)
- else
- if the keyCode = 115 then
- if objectp(g_image) then
- g_image(mdispose)
- end if
- go(1, "@\..\MAINMENU")
- end if
- end if
- if the key = "1" then
- set delaytime to 120
- end if
- if the key = "2" then
- set delaytime to 60
- end if
- if the key = "3" then
- set delaytime to 30
- end if
- if the commandDown and (the keyCode = 12) then
- cursor(-1)
- if objectp(g_image) then
- g_image(mdispose)
- end if
- dontPassEvent()
- go(1, "@\..\QUIT")
- end if
- dontPassEvent()
- end
-
- on checkitemp
- global scastname
- if rollOver(30) then
- cursor(134)
- go("left")
- else
- if rollOver(31) then
- cursor(134)
- go("right")
- else
- if rollOver(28) then
- cursor(-1)
- go("down")
- else
- cursor(-1)
- if qtchangedfrag = 1 then
- set qtchangedfrag to 0
- end if
- go("move")
- end if
- end if
- end if
- end
-
- on judgemovieshow
- global scastname
- if movieshow = 0 then
- set movieshow to 1
- set the keyDownScript to "checkkeyTAB"
- dontPassEvent()
- go("move")
- set the member of sprite 24 to member (pict + getAt(qtframelist, moviepos)) of castLib scastname
- set the visible of sprite 24 to 1
- set the visible of sprite 29 to 1
- set the visible of sprite 23 to 1
- updateStage()
- else
- set movieshow to 0
- cursor(-1)
- set the visible of sprite 23 to 0
- set the visible of sprite 24 to 0
- set the visible of sprite 29 to 0
- updateStage()
- set the keyDownScript to "checkkey0"
- dontPassEvent()
- if g_pause = 1 then
- go("pa")
- else
- go("from")
- end if
- end if
- end
-